export const App = {
  template: `
    <div>
      <h2>{{message}}</h2>
      <button @click='btnClick'>按钮</button>
      <h2>{{name}}</h2>
    </div>
  `,
  data() {
    return {
      message: 'hello webpack',
      name: 'srx'
    }
  },
  methods: {
    btnClick() {
      console.log('按钮被点击了')
    }
  }
}